package com.yaorange.nongit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 打印机序列号管理对象 njt_admin_printers
 * 
 * @author lzh
 * @date 2025-02-28
 */
public class NjtAdminPrinterseq extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 打印机序列号 */
    @Excel(name = "打印机序列号")
    private String printerSequence;

    /** 打印机id */
    private Long printerId;

    /** 打印机类型（0-便携式 1-高速） */
    @Excel(name = "打印机类型", readConverterExp = "0=-便携式,1=-高速")
    private Long printerType;

    /** 使用状态（0-未使用 1-已使用 2-正常 3-禁用） */
    @Excel(name = "使用状态", readConverterExp = "0=-未使用,1=-已使用,2=-正常,3=-禁用")
    private Long printerState;

    /** 主体名称 */
    private String companyName;

    /** 注册手机号 */
    private Long mobilePhone;

    /** 物理地址 */
    private String userMac;

    /** 认证状态（0-未认证 1-已认证） */
    private Long printerCertificationStatus;

    /** 认证时间 */
    private Date certificationTime;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    /** 法人姓名 */
    private String legalPersonName;

    /** 省 */
    private String province;

    /** 市 */
    private String city;

    /** 区/县 */
    private String area;

    /** 镇/乡 */
    private String country;

    /** 详细地址 */
    private String detailAddress;

    public void setPrinterSequence(String printerSequence) 
    {
        this.printerSequence = printerSequence;
    }

    public String getPrinterSequence() 
    {
        return printerSequence;
    }
    public void setPrinterId(Long printerId) 
    {
        this.printerId = printerId;
    }

    public Long getPrinterId() 
    {
        return printerId;
    }
    public void setPrinterType(Long printerType) 
    {
        this.printerType = printerType;
    }

    public Long getPrinterType() 
    {
        return printerType;
    }
    public void setPrinterState(Long printerState) 
    {
        this.printerState = printerState;
    }

    public Long getPrinterState() 
    {
        return printerState;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setMobilePhone(Long mobilePhone) 
    {
        this.mobilePhone = mobilePhone;
    }

    public Long getMobilePhone() 
    {
        return mobilePhone;
    }
    public void setUserMac(String userMac) 
    {
        this.userMac = userMac;
    }

    public String getUserMac() 
    {
        return userMac;
    }
    public void setPrinterCertificationStatus(Long printerCertificationStatus) 
    {
        this.printerCertificationStatus = printerCertificationStatus;
    }

    public Long getPrinterCertificationStatus() 
    {
        return printerCertificationStatus;
    }
    public void setCertificationTime(Date certificationTime) 
    {
        this.certificationTime = certificationTime;
    }

    public Date getCertificationTime() 
    {
        return certificationTime;
    }
    public void setRegisterTime(Date registerTime) 
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() 
    {
        return registerTime;
    }
    public void setLegalPersonName(String legalPersonName) 
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName() 
    {
        return legalPersonName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setDetailAddress(String detailAddress) 
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress() 
    {
        return detailAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("printerSequence", getPrinterSequence())
            .append("printerId", getPrinterId())
            .append("printerType", getPrinterType())
            .append("printerState", getPrinterState())
            .append("companyName", getCompanyName())
            .append("mobilePhone", getMobilePhone())
            .append("createTime", getCreateTime())
            .append("userMac", getUserMac())
            .append("printerCertificationStatus", getPrinterCertificationStatus())
            .append("certificationTime", getCertificationTime())
            .append("registerTime", getRegisterTime())
            .append("legalPersonName", getLegalPersonName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("country", getCountry())
            .append("detailAddress", getDetailAddress())
            .toString();
    }
}
